- Upload a file with payout instructions
Uploads a file with payout instructions to the given distribution. The maximum size of the file is 262144000 bytes. The returned identifier tags the upload batch: poll the upload-status endpoint with it until processing completes, then list each row's outcome through the upload-status rows endpoint. Columns beyond the known ones are imported as tags: at most 20 of them, names up to 64 characters and values up to 128, names unique regardless of case and different from the known column names. Two tag columns whose names differ only by case are rejected here; on a payout instruction itself such a pair is two separate tags. Neither a name nor a value can contain < > { }, and a name cannot contain a comma, a double quote or an ampersand. An empty cell means the row carries no such tag. detectedTagColumns in the response lists the columns that were read as tags, so an unexpected entry there means a column name did not land where you meant it to. A file with tag columns replaces the tags of every row it re-uploads; a file without them leaves the stored tags alone.
- Mock serverhttps://docs.talli.ai/_mock/referencev3/swagger/v3/distribution-manager/distributions/{id}/payout-instructions/:upload
curl -i -X POST \
'https://docs.talli.ai/_mock/referencev3/swagger/v3/distribution-manager/distributions/{id}/payout-instructions/:upload' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: multipart/form-data' \
-F file=@file.bin{ "batchId": "5579c111-9c50-47e2-af92-f16d52e63189", "detectedTagColumns": [ "string" ] }